ChartTransactionElement
A classe base que descreve o elemento gráfico Ordens ou Trocas.
Herda de: ChartElement<T>
Implementa: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartTransactionElement
Construtores
protected ChartTransactionElement()
chartTransactionElement = ChartTransactionElement()
Inicializar ChartTransactionElement.
Propriedades
public Color BuyColor { get; set; }
value = chartTransactionElement.BuyColor
chartTransactionElement.BuyColor = value
Cor do elemento gráfico no gráfico, indicando compra.
public Color BuyStrokeColor { get; set; }
value = chartTransactionElement.BuyStrokeColor
chartTransactionElement.BuyStrokeColor = value
Cor da borda do elemento gráfico no gráfico, indicando compra.
public double DrawSize { get; set; }
value = chartTransactionElement.DrawSize
chartTransactionElement.DrawSize = value
Desenhar o tamanho.
public Color SellColor { get; set; }
value = chartTransactionElement.SellColor
chartTransactionElement.SellColor = value
Cor do elemento gráfico no gráfico, indicando venda.
public Color SellStrokeColor { get; set; }
value = chartTransactionElement.SellStrokeColor
chartTransactionElement.SellStrokeColor = value
Cor da borda do elemento gráfico no gráfico, indicando venda.
public string Title { get; set; }
value = chartTransactionElement.Title
chartTransactionElement.Title = value
Cabeçalho da série que será mostrado no gráfico.
public bool UseAltIcon { get; set; }
value = chartTransactionElement.UseAltIcon
chartTransactionElement.UseAltIcon = value
Usar ícones alternativos.
Métodos
internal override T CopyTo(T elem)
result = chartTransactionElement.CopyTo(elem)
Copie a mensagem para o .
- elem
- Copy.
Retorna: Copy.
protected override string GetGeneratedTitle()
result = chartTransactionElement.GetGeneratedTitle()
Obter o título gerado.
Retorna: Gerar automaticamente o título do elemento gráfico.
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.LoadAsync(storage, cancellationToken)
Asynchronously loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
- cancellationToken
- A token to monitor for cancellation requests.
Retorna: A task that represents the asynchronous load operation.
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.SaveAsync(storage, cancellationToken)
Asynchronously saves the state of the object to the specified SettingsStorage.
- storage
- The SettingsStorage instance to which to save the data.
- cancellationToken
- A token to monitor for cancellation requests.
Retorna: A task that represents the asynchronous save operation.